package com.sunmnet.j2ee.bean.powerdb.designer.chart;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * <PRE>
 * {类说明}
 * </PRE>
 * <B>项    目：</B>J2EE开发平台
 * <B>技术支持：</B>三盟科技 (c) 2016
 *
 * @author 黄坚：huangjian@sunmnet.com
 * @version 1.0 2016/7/29
 * @since jdk版本：jdk1.7
 */
public class BeProperties {

	private String id;
	private String genericity;
	private boolean transientPro;
	private boolean isUnique;
	private String name;
	private String relation;
	private boolean nullable;
	private String type;

	public BeProperties() {}

	@Override
	public String toString() {
		return new ReflectionToStringBuilder(
				this,
				ToStringStyle.MULTI_LINE_STYLE)
				.toString();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGenericity() {
		return genericity;
	}

	public void setGenericity(String genericity) {
		this.genericity = genericity;
	}

	public boolean isTransientPro() {
		return transientPro;
	}

	public void setTransientPro(boolean transientPro) {
		this.transientPro = transientPro;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public boolean isUnique() {
		return isUnique;
	}

	public void setUnique(boolean unique) {
		isUnique = unique;
	}

	public boolean isNullable() {
		return nullable;
	}

	public void setNullable(boolean nullable) {
		this.nullable = nullable;
	}
}
